GET
/
1
/
keys
// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.ListApiKeysAsync();
// >LOG
{
  "keys": [
    {
      "value": "13ad45b4d0a2f6ea65ecbddf6aa260f2",
      "createdAt": 1656345570000,
      "acl": [
        "search",
        "addObject"
      ],
      "description": "Used for indexing by the CLI",
      "indexes": [
        "dev_*",
        "prod_en_products"
      ],
      "maxHitsPerQuery": 0,
      "maxQueriesPerIPPerHour": 0,
      "queryParameters": "typoTolerance=strict&restrictSources=192.168.1.0/24",
      "referers": [
        "*algolia.com*"
      ],
      "validity": 86400
    }
  ]
}

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.

Response

200
application/json

OK

The response is of type object.